import Vue from "vue";
import router from "./router";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
import crypto from 'crypto'
// 引入全局样式
import "./assets/global.css";
// 引入字体图标
import "./assets//fonts/iconfont.css";
// 引入axios
import axios from "axios";
// 引入echarts
import * as echarts from "echarts";
import QS from "qs";
// 配置请求根路径
axios.defaults.baseURL = "http://localhost:8100/";
Vue.prototype.$http = axios;
Vue.prototype.$crypto=crypto
Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
new Vue({
  router,
  render: function(h) {
    return h(App);
  },
}).$mount("#app");
